package com.campus.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("t_teaching_evaluation")
public class TeachingEvaluation {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("stu_in_class_id")
    private Integer stuInClassId;

    @TableField("grade")
    private String grade;

    @TableField("evaluation")
    private String evaluation;

    @TableField("evaulated_time")
    private LocalDateTime evaluatedTime;

    @TableField("course_id")
    private Integer courseId;

    @TableField("evaluator")
    private Integer evaluator;
}
